package com.explorati.design_pattern.creational.builder.example2;

public class ComputerDirector {

	private ComputerBuilder builder;

	public T410 constructorT410() {
		builder = new T410Builder();
		builder.buildCPU("i5-450");
		builder.buildRam("4GB 1333MHz");
		builder.buildHardDisk("500GB 7200转");
		builder.buildGraphicCard("Nvidia NVS 3100M");
		builder.buildMonitor("14英寸 1280*800");
		builder.buildOS("Windows 7 旗舰版");
		return (T410) builder.getComputer();
	}
	
	public X201 constructorX201() {
		builder = new X201Builder();
		builder.buildCPU("i3-350");
		builder.buildRam("2GB 1333MHz");
		builder.buildHardDisk("250GB 5400转");
		builder.buildMonitor("12英寸 1280*800");
		builder.buildOS("Windows 7 Home版");
		return (X201) builder.getComputer();
	}
}
